package com.hubiao.pay.merchant.service;

import com.hubiao.pay.common.domain.BusinessException;
import org.springframework.web.multipart.MultipartFile;

/**
 * Description 七牛云附件上传
 *
 * @author hubiao
 * @since 2020-11-09 22:15
 */
public interface FileService {

    /**
     * 上传附件
     *
     * @param multipartFile
     * @return 文件名
     * @throws BusinessException
     */
    public String upload(MultipartFile multipartFile) throws BusinessException;
}
